/*
 * @Author: 杜二康 3224811364@qq.com
 * @Date: 2025-09-11 11:42:44
 * @LastEditors: 杜二康 3224811364@qq.com
 * @LastEditTime: 2025-09-12 09:40:55
 * @FilePath: \igw\constants\aiBattleModeData.js
 * @Description:
 *
 * Copyright (c) 2025 by ${git_name_email}, All Rights Reserved.
 */
export const getAiOpponents = (language) => {
  console.log("first", language);
  switch (language) {
    case "zh":
      return [
        {
          id: "rookie",
          name: "R.O.O.K.I.E",
          emoji: "🤖",
          level: 1,
          description: "友好的新手AI",
          personality: "友善、鼓励性，反应较慢",
          difficulty: 0.6,
          specialties: ["基础反应", "简单逻辑"],
          color: "text-green-600",
          bgGradient: "from-green-50 to-emerald-50",
        },
        {
          id: "strategist",
          name: "策略大师",
          emoji: "🧠",
          level: 2,
          description: "专精逻辑思维",
          personality: "冷静、分析性，擅长复杂推理",
          difficulty: 0.75,
          specialties: ["逻辑推理", "策略规划", "模式识别"],
          color: "text-blue-600",
          bgGradient: "from-blue-50 to-indigo-50",
        },
        {
          id: "speedster",
          name: "闪电侠",
          emoji: "⚡",
          level: 3,
          description: "极速反应专家",
          personality: "快速、激进，反应速度惊人",
          difficulty: 0.85,
          specialties: ["反应速度", "快速决策", "动作协调"],
          color: "text-yellow-600",
          bgGradient: "from-yellow-50 to-orange-50",
        },
        {
          id: "mastermind",
          name: "终极智脑",
          emoji: "👑",
          level: 4,
          description: "全能型超级AI",
          personality: "完美主义、极具挑战性，几乎无懈可击",
          difficulty: 0.95,
          specialties: ["全能力测试", "适应性学习", "完美执行"],
          color: "text-purple-600",
          bgGradient: "from-purple-50 to-pink-50",
        },
      ];
      break;
    case "en":
      return [
        {
          id: "rookie",
          name: "R.O.O.K.I.E",
          emoji: "🤖",
          level: 1,
          description: "Friendly beginner AI",
          personality: "Friendly, encouraging, relatively slow to respond",
          difficulty: 0.6,
          specialties: ["Basic reactions", "Simple logic"],
          color: "text-green-600",
          bgGradient: "from-green-50 to-emerald-50",
        },
        {
          id: "strategist",
          name: "The Strategist",
          emoji: "🧠",
          level: 2,
          description: "Specializes in logical thinking",
          personality: "Calm, analytical, excels at complex reasoning",
          difficulty: 0.75,
          specialties: [
            "Logical reasoning",
            "Strategic planning",
            "Pattern recognition",
          ],
          color: "text-blue-600",
          bgGradient: "from-blue-50 to-indigo-50",
        },
        {
          id: "speedster",
          name: "The Speedster",
          emoji: "⚡",
          level: 3,
          description: "Expert in rapid response",
          personality: "Fast, aggressive, astonishing reaction speed",
          difficulty: 0.85,
          specialties: [
            "Reaction speed",
            "Quick decision-making",
            "Action coordination",
          ],
          color: "text-yellow-600",
          bgGradient: "from-yellow-50 to-orange-50",
        },
        {
          id: "mastermind",
          name: "The Ultimate Mind",
          emoji: "👑",
          level: 4,
          description: "All-around super AI",
          personality: "Perfectionistic, highly challenging, almost flawless",
          difficulty: 0.95,
          specialties: [
            "Full capability testing",
            "Adaptive learning",
            "Perfect execution",
          ],
          color: "text-purple-600",
          bgGradient: "from-purple-50 to-pink-50",
        },
      ];

  }
};

export const getQuestionTypes = (language) => {
  switch (language) {
    case "zh":
      return [
        {name: "反应速度", color: "bg-red-100 text-red-600"},
        {name: "记忆测试", color: "bg-purple-100 text-purple-600"},
        {name: "数学计算", color: "bg-green-100 text-green-600"},
        {name: "模式识别", color: "bg-blue-100 text-blue-600"},
        {name: "颜色识别", color: "bg-yellow-100 text-yellow-600"},
        {name: "逻辑推理", color: "bg-indigo-100 text-indigo-600"},
        {name: "语言理解", color: "bg-pink-100 text-pink-600"},
        {name: "序列推理", color: "bg-teal-100 text-teal-600"},
        {name: "空间推理", color: "bg-orange-100 text-orange-600"},
        {name: "注意力测试", color: "bg-cyan-100 text-cyan-600"},
        {name: "比较分析", color: "bg-lime-100 text-lime-600"},
        {name: "计算应用", color: "bg-emerald-100 text-emerald-600"},
      ]
    case "en":
      return [
        {name: "Reaction Speed", color: "bg-red-100 text-red-600"},
        {name: "Memory Test", color: "bg-purple-100 text-purple-600"},
        {name: "Math Calculation", color: "bg-green-100 text-green-600"},
        {name: "Pattern Recognition", color: "bg-blue-100 text-blue-600"},
        {name: "Color Recognition", color: "bg-yellow-100 text-yellow-600"},
        {name: "Logical Reasoning", color: "bg-indigo-100 text-indigo-600"},
        {name: "Language Comprehension", color: "bg-pink-100 text-pink-600"},
        {name: "Sequential Reasoning", color: "bg-teal-100 text-teal-600"},
        {name: "Spatial Reasoning", color: "bg-orange-100 text-orange-600"},
        {name: "Attention Test", color: "bg-cyan-100 text-cyan-600"},
        {name: "Comparative Analysis", color: "bg-lime-100 text-lime-600"},
        {name: "Computational Application", color: "bg-emerald-100 text-emerald-600"}
      ]

  }
}
